<?php 
define('_VIEW_MODEL_','admin');
session_start();
require_once("../init.php");
$ti   = $_SESSION['time'];
$name = $_SESSION['name'];
$time = date("Y-m-d H:i:s",$ti);
$smartyObj->assign('time',$time);
$smartyObj->assign('name',$name);
$smartyObj->assign('title',$admintitle);
$smartyObj->display("header.tpl");
?>